package thread;

/**
 * Created by Administrator on 2016/3/4.
 */
public class Test {
    private String str = "bbb";

    public synchronized String getStr() {
        return str;
    }

    public synchronized void setStr(String str) {
        this.str = str;
    }
}
